Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ListBoxCellType Class / ListBoxCellType Constructor / ListBoxCellType Constructor(String[])
Items for the list specified in a string array
Example


In This Topic
    ListBoxCellType Constructor(String[])
    In This Topic
    Creates a new list box cell with the specified list items.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal items() As String _
    )
    'Usage
     
    
    Dim items() As String
     
    Dim instance As New ListBoxCellType(items)
    public ListBoxCellType( 
       string[] items
    )

    Parameters

    items
    Items for the list specified in a string array
    Example
    This example creates a list box cell type, sets up an array of items for the list, sets the background and foreground color for the selected item and assigns the object to the first cell in the sheet.
    See Also